<!DOCTYPE html>
<html lang="en"  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>品牌编辑列表</title>
    <script th:src="@{js/jquery-3.3.1.min.js}"></script>
    <link rel="stylesheet" th:href="@{css/bootstrap.min.css}">
    <script th:src="@{js/bootstrap.min.js}"></script>

</head>
<body>

<!-- 模态框示例（Modal） -->
<div class="modal fade" id="ModalSet" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog" style="width: 700px;">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                    &times;
                </button>
                <h4 class="modal-title" id="myModalLabel">
                    <span id="title">品牌修改</span>
                </h4>
            </div>


            <div class="modal-body" >

                <div class="form-group">

                    <form id="formset" action="/brand/setBrand" method="post">
                        <input th:value="${idit}" class="hidden" name="id"/>
                        <input class="form-control" name="brand" placeholder="请输入品牌名" id="bvalue" th:value="${co}"/>
                        <button type="submit" class="btn btn-primary">
                            提交
                        </button>
                    </form>
                </div>

            </div>

            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭
                </button>
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal -->
</div>

<script>
    $("#ModalSet").modal('show');
</script>

</body>
</html>